﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/AdminMasterPage.master" AutoEventWireup="true" CodeFile="them-moi-nha-hang.aspx.cs" Inherits="Admin_them_moi_nha_hang" Title="Thêm Mời Nhà Hàng" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div style="width:100%;margin-top:20px;">
        <span>Tên nhà hàng: </span>
        <asp:TextBox ID="txtResName" runat="server"></asp:TextBox>
        <span>Loại nhà hàng: </span>
        <asp:DropDownList ID="ddlResType" runat="server">
        </asp:DropDownList>
        <span>Kích hoạt: </span>
        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
            <asp:ListItem Value="0">Chưa kích hoạt</asp:ListItem>
            <asp:ListItem Value="1">Kích hoạt</asp:ListItem>
            
        </asp:RadioButtonList><span>Trang chủ</span><asp:RadioButtonList ID="rblPriority" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
            <asp:ListItem Value="1">Trang chủ</asp:ListItem>
            <asp:ListItem Value="0">Trang Sau</asp:ListItem>
        </asp:RadioButtonList>
        <br />
        <span>Điện thoại: </span>
        <asp:TextBox ID="txtPhone" runat="server"></asp:TextBox><span>Email: </span>
        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox><span>Website: </span>
        <asp:TextBox ID="txtWebsite" runat="server"></asp:TextBox><span>Facebook: </span>
        <asp:TextBox ID="txtFB" runat="server"></asp:TextBox><span>Sức chứa: </span>
        <asp:TextBox ID="txtCapacity" runat="server"></asp:TextBox><br />
        <span>Mô tả: </span>
        <asp:TextBox ID="txtDescription" runat="server" TextMode="MultiLine"></asp:TextBox>
        <span>Tiện tích: </span>
        <asp:TextBox ID="txtUtility" runat="server" TextMode="MultiLine"></asp:TextBox>
        <span>Hình đại diện: </span>
        <asp:FileUpload ID="fuAvatar" runat="server" />
        <br />
        <span>Tỉnh,TP</span><asp:DropDownList ID="ddlProvince" runat="server" 
            AutoPostBack="True" onselectedindexchanged="ddlProvince_SelectedIndexChanged">
        </asp:DropDownList><span>Huyện Quận</span><asp:DropDownList ID="ddlDistrict" 
            runat="server" AutoPostBack="true" 
            onselectedindexchanged="ddlDistrict_SelectedIndexChanged">
        </asp:DropDownList><span>Xã Phường</span><asp:DropDownList ID="ddlWard" 
            runat="server" AutoPostBack="True">
        </asp:DropDownList><span>Đường</span><asp:TextBox ID="txtStreet" runat="server"></asp:TextBox><span>Số Nhà</span><asp:TextBox
            ID="txtHouseID" runat="server"></asp:TextBox>
        <div style="width:800px;margin:auto">
            <h2>Giới Thiệu Nhà Hàng</h2>
            <CKEditor:CKEditorControl ID="CKEditorControl1" runat="server"></CKEditor:CKEditorControl>
        </div>
        <div style="width:800px;margin:auto;text-align:right;margin-top:15px;margin-bottom:15px;">
            <asp:Button ID="btnOK" runat="server" Text="Thêm Mới" onclick="btnOK_Click" />
            <asp:Button ID="btnReset" runat="server" Text="Hủy Bỏ" />
            <p align="center">
                <asp:Label ID="lblInfo" runat="server"></asp:Label>
            </p>
        </div>
    </div>
</asp:Content>

